<pro-header></pro-header>
<nz-card>
    <!--<nz-sf layout="inline" [schema]="searchSchema"-->
    <!--[actions]="searchActions" (onChange)="params=$event.value" style="padding-bottom: 30px"></nz-sf>-->
    <!--<simple-table #st [data]="url" [columns]="columns" [extraParams]="params" [resReName]="{list:'list'}"-->
    <!--]></simple-table>-->

    <nz-table #nzTable [nzAjaxData]="data" [nzTotal]="total" [nzPageSize]="pagesize" [nzPageIndex]="pageCureent"
              (nzPageIndexChange)="getlist($event)">
        <thead nz-thead>
        <tr>
            <th nz-th>
                序号
            </th>
            <th nz-th>
                <span>id</span>
            </th>
            <th nz-th>
                <span>用户名</span>
            </th>

            <th nz-th>
                <span>昵称</span>
            </th>
            <th nz-th>
                <span>性别</span>
            </th>
            <th nz-th>
                <span>操作</span>
            </th>
        </tr>
        </thead>
        <tbody nz-tbody>
        <tr nz-th *ngFor="let item of nzTable.data;let i=index;">
            <td nz-td>{{i+1}}</td>
            <td nz-td>{{item.id}}</td>
            <td nz-td>{{item.username}}</td>
            <td nz-td>{{item.nickname}}</td>
            <td nz-td>{{item.sex==0?'男':'女'}}</td>
            <td nz-td>
                <span>
              <!--<a [routerLink]="['/user/show',{id:item.id}]">查看详情</a>-->
              <a [routerLink]="['/user/show',item.id]">查看详情</a>
                <span nz-table-divider></span>
              <a (click)="showModal(item['id'])">修改密码</a>
            </span>

            </td>

        </tr>
        </tbody>
    </nz-table>
</nz-card>
